package face.pay.security.util;

import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;
import org.springframework.security.crypto.password.PasswordEncoder;

/**
 * @Auther: zkj
 * @Date: 2019/7/5 15:16
 * @Description:
 */
public class UserPassWordEncode {

    private static PasswordEncoder passwordEncoder  = new BCryptPasswordEncoder();

    public  static String  passWordEncode(String passWord){
      return   passwordEncoder.encode(passWord);
    }


}
